<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\assets\AdminLoginAsset;
use yii\captcha\Captcha;
use \yii\helpers\Url;

?>
<!DOCTYPE html>
<html lang='zh-cn'>
<head>
    <title>爱未来兼职平台</title>
    <meta charset='utf-8'/>
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
    <link rel='stylesheet' href='/home/pintuer/pintuer.css'>
    <script src="/home/pintuer/jquery.js"></script>
    <script src="/home/pintuer/pintuer.js"></script>
</head>
<body>
<div class="container-layout">
    <div class="line">
        <div class="xs12 xm12 xb12">
            <div class="panel border-main">
                <div class="panel-head border-sub bg-main text-center">BOSS入驻</div>
                <div class="panel-body">
                    <div align="center">
                        <?php $form = ActiveForm::begin(['id' => 'login-form', 'method' => 'post',
                            'fieldConfig' => [
                                'template' => "<div class=\"col-lg-5\">{input}</div>\n<div class=\"col-lg-3 layui-bg-red\">{error}</div>",
                            ]
                        ]) ?>
                        <form action="frame.php" method="post">
                            <div class="panel padding" style="text-align: left;">
                                <div class="text-center">
                                    <br>
                                    <h2><strong>欢迎入驻&nbsp;爱未来兼职平台</strong></h2>
                                </div>
                                <div class="" style="padding:30px;">
                                    <div class="form-group">
                                        <div class="field field-icon-right">
                                            <?php echo $form->field($model, 'owner')->textInput(['placeholder' => '请问您贵姓？', 'class' => 'input'])->label(false) ?>
                                            <span class="icon icon-user"></span>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="field field-icon-right">
                                            <?php echo $form->field($model, 'telephone')->textInput(['placeholder' => '输入您的联系方式', 'class' => 'input'])->label(false) ?>
                                            <span class="icon icon-comment"></span>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <div class="field field-icon-right">
                                            <?php echo $form->field($model, 'address')->textInput(['placeholder' => '输入您的地址', 'class' => 'input'])->label(false) ?>
                                            <span class="icon icon-credit-card"></span>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <div class="field field-icon-right">
                                            <?php echo $form->field($model, 'name')->textInput(['placeholder' => '输入您的工作名称', 'class' => 'input'])->label(false) ?>
                                            <span class="icon icon-bookmark-o"></span>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <div class="field field-icon-right">
                                            <?php //echo $form->field($model, 'kind')->textInput(['placeholder' => '输入你的工作种类', 'class' => 'input'])->label(false) ?>
                                            <?php echo $form->field($model, 'kind')->dropDownList(['家教/辅导'=>'家教/辅导','文员'=>'文员','礼仪'=>'礼仪','服务生'=>'服务生','促销员'=>'促销员'], ['prompt'=>'请选择工作种类','class'=>'input']);?>
                                            <span class="icon icon-ellipsis-h"></span>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <div class="field field-icon-right">
                                            <?php echo $form->field($model, 'general_wage')->textInput(['placeholder' => '输入大致时薪或工资', 'class' => 'input'])->label(false) ?>
                                            <span class="icon icon-cny"></span>
                                        </div>
                                    </div>

                                    <div class="am-form-group">
                                        <div class="am-u-sm-9">
                                            <?php echo $form->field($model, 'request')->textarea(['class' => 'input col-sm-6', 'placeholder' => "输入您的工作要求", 'rows' => "4"])->label(false) ?>
                                        </div>
                                    </div>


                                    <div class="form-group">
                                        <div class="field">
                                            <?php echo Html::submitButton('录入信息', ['class' => 'button button-block bg-main text-big', 'name' => 'submit-button']) ?>
                                        </div>
                                    </div>
                                    <div class='text-right text-small text-gray padding-top'>
                                        <a class='text-green' target='_blank'
                                           href='index.php?r=index%2Ffeedback'>给我们留言</a></div>
                                </div>
                            </div>
                            <?php ActiveForm::end(); ?>
                    </div>
                </div>
                <div class='panel-foot border-sub bg-main text-center'><a class='text-red' target='_blank'
                                                                          href='index.php'>爱未来兼职平台 </a> 版权所有
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>